package com.ant.myagile.dashboard
import com.ant.myagile.*
import com.ant.myagile.backlog.*

import java.util.Map;

class StatusService {
	
	def List<Status> getStatusByTeamSprint(Map<String, String> parameters, request, servletContext){
		Team t = Team.get(parameters.teamid)
		Sprint s = Sprint.get(parameters.sprintid)
		return Status.findAllWhere(team : t, sprint : s)
	}
}
